module.exports = {
  preset: 'ts-jest',
  testEnvironment: 'jest-environment-jsdom',
  moduleFileExtensions: ['ts', 'tsx', 'js', 'jsx'],
  transform: {
    "^.+\\.jsx?$": "babel-jest",
    '^.+\\.(ts|tsx)$': 'ts-jest'
  },
  moduleNameMapper: {
    "\\.(jpg|jpeg|png|gif|webp)$": "<rootDir>/__mocks__/fileMock.ts",
    "\\.(svg|css|scss)$": "identity-obj-proxy"
  }
}